package com.coolgor.axnut.dao.airuc;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.coolgor.axnut.entity.airuc.Headline;

public interface HeadlineDao {

	Headline queryHeadlineById(Long id);
	
	List<Headline> queryHeadlineList(@Param("headlineCondition") Headline headlineCondition);
	
	int queryHeadlineCount(@Param("headlineCondition") Headline headlineCondition);
	
	int insertHeadline(Headline headline);
	
	int updateHeadline(Headline headline);
	
	int deleteHeadline(Headline headline);
	
	int batchDeleteHeadline(List<Long> headlineIDList);
	
}